package com.fwtai.bean;

/**
 * 文件上传参数
 * @作者 田应平
 * @版本 v1.0
 * @创建时间 2020-07-06 9:02
 * @QQ号码 444141300
 * @Email service@dwlai.com
 * @官网 http://www.fwtai.com
 */
public final class UploadFile{

  /**原文件名,微信小程序可以通过name来获取*/
  private String originalName;
  /**文件名*/
  private String fileName;
  /**文件的完整路径|全路径*/
  private String fullPath;
  /**文件上传的跟目录*/
  private String basePath;
  /**url访问路径,不含前缀*/
  private String urlFile;
  /**含http全路径访问的url*/
  private String httpUri;
  /**文件域的表单字段名,即name或key对应的值*/
  private String name;
  //文件目录
  private String fileDir;
  private String fileWithoutSuffix;
  /*文件大小KB**/
  private Double fileSize;
  /**文件所在的目录*/
  private String currentDir;

  public String getOriginalName(){
    return originalName;
  }

  public void setOriginalName(final String originalName){
    this.originalName = originalName;
  }

  public String getFileName(){
    return fileName;
  }

  public void setFileName(final String fileName){
    this.fileName = fileName;
  }

  public String getFullPath(){
    return fullPath;
  }

  public void setFullPath(final String fullPath){
    this.fullPath = fullPath;
  }

  public String getBasePath(){
    return basePath;
  }

  public void setBasePath(final String basePath){
    this.basePath = basePath;
  }

  public String getUrlFile(){
    return urlFile;
  }

  public void setUrlFile(final String urlFile){
    this.urlFile = urlFile;
  }

  public String getHttpUri(){
    return httpUri;
  }

  public void setHttpUri(final String httpUri){
    this.httpUri = httpUri;
  }

  public String getName(){
    return name;
  }

  public void setName(final String name){
    this.name = name;
  }

  public String getFileDir(){
    return fileDir;
  }

  public void setFileDir(String fileDir){
    this.fileDir = fileDir;
  }

  public String getFileWithoutSuffix(){
    return fileWithoutSuffix;
  }

  public void setFileWithoutSuffix(String fileWithoutSuffix){
    this.fileWithoutSuffix = fileWithoutSuffix;
  }

  public Double getFileSize(){
    return fileSize;
  }

  public void setFileSize(final Double fileSize){
    this.fileSize = fileSize;
  }

  public String getCurrentDir(){
    return currentDir;
  }

  public void setCurrentDir(final String currentDir){
    this.currentDir = currentDir;
  }
}